package com.parse.utils;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

/**
 * Created by fangjicai on 2020/5/11.
 */
//单例模式
public class ThreadPoolUtils {
    //创建线程池对象
    private static final ExecutorService executorService=Executors.newCachedThreadPool();

    public static ExecutorService  getThreadPool(){
        return executorService;
    }

}
